package com.stefanie.study.bridgeP;

/**
 * @author: stefanie-zy
 * @time: 2024/7/4-15:07
 * @description: 桥接模式-抽象对象
 */
public abstract class Abstraction {

    protected IImplementor iImplementor;

    public Abstraction(IImplementor iImplementor) {
        this.iImplementor = iImplementor;
    }

    public void operation() {
        iImplementor.operationImpl();
    }
}
